﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapFrom(typeof(ResponseButton))]
    public class ResponseButtonDto
    {
        public Guid Id { get; set; }
        public string Text { get; set; }
        /// <summary>
        /// enums contain triggerAnIntent,link and webView
        /// </summary>
        public string Type { get; set; }
        public string Url { get; set; }
        public string IntentId { get; set; }
        public IntentDto Intent { get; set; }
        /// <summary>
        /// enums contain sideWindow,newWindow,currentWindow, it represents the way that a page will be opened.
        /// </summary>
        public string OpenIn { get; set; }
        /// <summary>
        /// enums contain compact,tall and full,it represents the size of the webview that will be opened.
        /// </summary>
        public string OpenStyle { get; set; }
        public int Order { get; set; }
    }
}
